package com.hh.admin.service.impl;

import java.util.List;

import com.hh.admin.entity.SysGroup;
import com.hh.admin.mapper.SysGroupMapper;
import com.hh.admin.service.ISysGroupService;
import com.hh.core.entity.ZtreeEntity;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author hxn
 * @since 2018-01-16
 */
@Service
public class SysGroupServiceImpl extends ServiceImpl<SysGroupMapper, SysGroup> implements ISysGroupService {

	@Autowired
	SysGroupMapper sysGroupMapper;
	
	@Override
	public List<ZtreeEntity> getGroupTreeList() {
		// TODO Auto-generated method stub
		return sysGroupMapper.getGroupTreeList();
	}
	
}
